package org.vincent.esDemo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(name = "/test")
public class DemoController {

    @RequestMapping(name = "/t", method = RequestMethod.GET)
    public String hello() {
        return "Hello World";
    }

}
